package com.jason.library.delegate.property

import kotlin.properties.ReadOnlyProperty
import kotlin.reflect.KProperty

class Delegate1(private val le:Int) : ReadOnlyProperty<Any, String> {
    override fun getValue(thisRef: Any, property: KProperty<*>): String {
        return "通过实现ReadOnlyProperty实现，name:${property.name}-${le}"
    }

}